< previous page page_89 next page >

Page 89
0089-01.jpg
Figure 4.25
When you use the form Editor toolbar,
centering and resizing controls is a snap.
tip.gif
If you click the wrong button on the Form Editor toolbar, you can undo the changes by clicking the Standard toolbar's Undo button or by pressing Ctrl+Z.

Using the Format Menu
Visual Basic's Format menu is also useful when you are working with controls. The Format menu contains all the same functions as the Form Editor toolbar, but it also has three other options for working with multiple controls: Horizontal Spacing, Vertical Spacing, and Size to Grid(see Figure 4.26).
0089-02.jpg
Figure 4.26
The Format menu offers a
number of tools for fine-tuning  the
appearance of controls on your forms.
Using the Horizontal Spacing option, you can make the spacing between controls equal. Equal spacing gives you a clean look for groups of controls such as command buttons. If you think the controls are too close together, you can increase the spacing. The spacing is increased by one grid point. You can also decrease the spacing between controls or remove the spacing altogether. By choosing Vertical Spacing, you can perform the same tasks in the vertical direction. Figure 4.27 shows a "before" and "after" look at a group of command buttons. The "after'' portion shows the effect of setting the horizontal spacing equal.
0089-03.jpg
Figure 4.27
Equal horizontal spacing makes
this group of buttons look orderly.

 
< previous page page_89 next page >